﻿<%@ Page Title="福彩3D走势图" Language="C#" MasterPageFile="~/APP_Master/MasterPage.master" AutoEventWireup="true" CodeFile="3dzs.aspx.cs" Inherits="shuangse" %>

<%@ Register src="APP_Controls/Dianping.ascx" tagname="Dianping" tagprefix="uc1" %>
<%@ Register src="~/APP_Controls/3DZouShi.ascx" tagname="ZouShi" tagprefix="uc2" %> 
<%@ Register src="APP_Controls/Friend.ascx" tagname="Friend" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--GreenNav-->
<div class="nav_green">
	<div class="cookie">
    	您现在所在位置：<a href="Default.aspx">首页</a> > 走势图 > 福彩3D走势图
    </div>
    <ul class="g_nav">
    	<li><a href="" class="g_cur">走势图表</a></li>
        <%--<li><a href="">杀号定胆</a></li>--%>
    </ul>
</div>
<!--GreenNav-->
<h2 class="zoushi_t">福彩3D走势图</h2>
<!--Content-->
<div class="zhoushi">
	<!--Title-->
    <div class="zhoushi_title">
    	<div class="zs_t_box">
            选择：
            <asp:DropDownList ID="DropDownList1" runat="server" >
            <asp:ListItem Value="30">最近30期</asp:ListItem>
            <asp:ListItem Value="50">最近50期</asp:ListItem>
            </asp:DropDownList>
      </div>
      <div class="zs_t_box">
         号码按
          <asp:DropDownList ID="DropDownList2" runat="server">
            <asp:ListItem>摇奖顺序</asp:ListItem>
          </asp:DropDownList>
       </div>
      <%--<div class="zs_t_box">
        红球走势按
          <asp:DropDownList ID="DropDownList3" runat="server">
            <asp:ListItem>11</asp:ListItem>
          </asp:DropDownList>
        </div>--%>
      <div class="zs_t_box">
        <%--列进行分区--%>
        <asp:Button ID="Button1" runat="server" Text="开始查看"  class="red_link" 
              onclick="Button1_Click"/> 
        </div>
    </div>
    <!--Title-->
    <!--Zoushi-->
    <div class="zs_table">

    	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_tt">
        	<tr>
            	<td rowspan="3" class="w55">期号</td>
            	<td rowspan="3" class="w55">开奖号码</td>
            	<td colspan="9" class="w55">百位</td>
            	<td colspan="9" class="w55">十位</td>
            	<td colspan="9" class="w55">个位</td> 
            	<td colspan="4" class="w55">重号类型</td> 
            </tr>
        	<tr>  
        	  <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td> 
        	  <td class="w25">和 值</td>
        	  <td class="w25">组 三</td>
        	  <td class="w25">组 六</td>
        	  <td class="w25">豹 子</td> 
   	      </tr>
        </table>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
        <%if (arlist != null && arlist.Count > 0)
          {
              for (int i = 0; i < arlist.Count; i++)
              {%> 
              <tr>
            	<td style="width:80px"><%=arlist[i].LotteryQS%></td>
                <td class="y_bg" style="width:26px"><%=arlist[i].LotteryNo.Split(',')[0]%></td>
                <td class="y_bg" style="width:26px"><span class=" f_r"><%=arlist[i].LotteryNo.Split(',')[1]%></span></td>
                <td class="y_bg" style="width:26px"><%=arlist[i].LotteryNo.Split(',')[2]%></td> 

                <%for (int a = 0; a < arlist[i].LotteryNo.Split(',').Length; a++)
                  {
                      for (int j = 0; j < 9; j++)
                      { %> 
                  <td class="w22" style="width:32px">
                  <%if (Convert.ToInt16(arlist[i].LotteryNo.Split(',')[a]) == (j + 1))
                    {%>
                  <div class="r_bg"><%} %>
                  <%=j+1 %>
                  <%if (Convert.ToInt16(arlist[i].LotteryNo.Split(',')[a]) == (j + 1))
                    {%></div><%} %>
                  </td>
                <%}
                  } %> 
                <td class="w25 b_bg" style="width:36px"><%=dtPaperList.Rows[i]["Heshi"]%></td>
                <td class="w25" style="width:36px"><%=dtPaperList.Rows[i]["Zusan"]%></td>
                <td class="w25 b_bg " style="width:36px"><%=dtPaperList.Rows[i]["Zuliu"]%></td>
                <td class="w40" style="width:36px"><%=dtPaperList.Rows[i]["Baozi"]%></td> 
            </tr>
            <%}
          }%>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
          	<tr>
            	<td rowspan="3" class="w60" style="width:80px"></td>
                <td rowspan="3" class="w_tj_120" style="width:76px"><strong>统计</strong></td>
                <%for (int i = 0; i < 27;i++ ){ %>
                <td valign="bottom" <%if(i==0) {%>class="w22 h92"  <%}else{ %> class="w22" <%} %>>
                <div class="zs_z_bg" style="height:<%=TiaoxingDT[i]*100/jinqiCount%>px;"></div></td>
                <%} %> 
                <td class="w25 b_bg" style="width:36px">&nbsp;</td>
                <td class="w25" style="width:36px">&nbsp;</td>
                <td class="w25 b_bg " style="width:36px">&nbsp;</td>
                <td class="w40" style="width:36px">&nbsp;</td>
            </tr>
          	<tr>
          	  <td class="w22 red" style="width:32px">01</td>
          	  <td class="w22 red" style="width:32px">02</td>
          	  <td class="w22 red" style="width:32px">03</td>
          	  <td class="w22 red" style="width:32px">04</td>
          	  <td class="w22 red" style="width:32px">05</td>
          	  <td class="w22 red" style="width:32px">06</td>
          	  <td class="w22 red" style="width:32px">07</td>
          	  <td class="w22 red" style="width:32px">08</td>
          	  <td class="w22 red" style="width:32px">09</td>
          	  <td class="w22 red" style="width:32px">01</td>
          	  <td class="w22 red" style="width:32px">02</td>
          	  <td class="w22 red" style="width:32px">03</td>
          	  <td class="w22 red" style="width:32px">04</td>
          	  <td class="w22 red" style="width:32px">05</td>
          	  <td class="w22 red" style="width:32px">06</td>
          	  <td class="w22 red" style="width:32px">07</td>
          	  <td class="w22 red" style="width:32px">08</td>
          	  <td class="w22 red" style="width:32px">09</td>
          	  <td class="w22 red" style="width:32px">01</td>
          	  <td class="w22 red" style="width:32px">02</td>
          	  <td class="w22 red" style="width:32px">03</td>
          	  <td class="w22 red" style="width:32px">04</td>
          	  <td class="w22 red" style="width:32px">05</td>
          	  <td class="w22 red" style="width:32px">06</td>
          	  <td class="w22 red" style="width:32px">07</td>
          	  <td class="w22 red" style="width:32px">08</td>
          	  <td class="w22 red" style="width:32px">09</td>
          	  <td class="w25 b_bg" style="width:36px">&nbsp;</td>
          	  <td class="w25" style="width:36px">&nbsp;</td>
          	  <td class="w25 b_bg " style="width:36px">&nbsp;</td>
          	  <td class="w40" style="width:36px">&nbsp;</td> 
       	    </tr>
          </table>
    </div>
    <!--Zoushi-->
</div>
    <div class="zs_infor"><%--说明：点击最后空行上的空格，可以帮助记录选号。--%></div>
<!--Content-->
    <uc1:Dianping ID="Dianping1" runat="server" />
  
    <uc2:ZouShi ID="ZouShi1" runat="server" />
<uc3:Friend ID="Friend1" runat="server" />
</asp:Content>

